home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 5
/
CD-ROM Today - The Disc (Issue 5)(November 1994).ISO
/
mac
/
Mac shareware
/
Education
/
RLaB
/
help
/
writeb
< prev
next >
Wrap
Text File
|
1994-09-21
|
839b
|
28 lines
writeb:
Syntax: writeb ( "filename" , a , b , ... )
Description:
The writeb function takes at least two arguments. The 1st
argument is the string that identifies the file to write to.
The file is opened with write permission, destroying any
pre-existing contents. The file is left open so that
subsequent writes will not destroy the contents.
The arguments after the file name are the entities that will
be written. All entities are written in RLaB binary format.
Example:
writeb ( "file_name", a , b , c );
Will open the file named `file_name' in write mode, and write
the contents of the variables a, b, and c.
The matrix format that writeb uses is compatible with MATLAB's
matrix format. As long as the file only contains matrices,
MATLAB should be able to read RLaB binary output.
See Also: FILES, close, readb